#ifndef				__PARSE_XML__
# define			__PARSE_XML__
# include			<utility>
# include			<QDomDocument>
# include			<QFile>
# include			<vector>
# include			<map>
# include			<string>
# include			"Pokemon.h"
# include			"Stats.h"

class				ParseXML
{
public:
	//	Constructor / Destructor
	ParseXML();
	~ParseXML();
	// Method
	void			ParsePokemon(std::vector<Pokemon *> &list);
	void			ParseSkills(std::map<std::string, Skill *> &list);
private:
	void			getStats(QDomElement &elem, Pokemon *currPokemon);
	void			getRatio(QDomElement &elem, Pokemon *currPokemon);
	void			getEvolutions(QDomElement &elem, Pokemon *currPokemon);
	void			getMoves(QDomElement &elem,Pokemon *currPokemon);
};


#endif		/* __PARSE_XML__ */